﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="InPhieuNhapKho.aspx.cs" Inherits="InPhieuNhapKho" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
    <style type="text/css">
        body 
        {
	        color: black; 
	        margin: 0; 
	        padding: 0; 
	        margin-top:0;
        }
        /* Display Styles */

        .tableDep
        {
            border-width: 0 0 1px 1px;
            border-spacing: 0;
            border-collapse: collapse;
            border-color: #600;
            border-style: solid;
        }
        .tdDep
        {
            margin: 0;
            padding: 4px;
            border-width: 1px 1px 0 0;
            border-color: #600;
            border-style: solid;
        }
        .thDep
        {
            margin: 0;
            padding: 4px;
            border-width: 1px 1px 0 0;
            border-color: #600;
            border-style: solid;
        }
        .PanelStyle
        {
	        text-align:center;
        }
        .MucNhap{
        color:#000099;
        border-bottom: 1px dotted black; 
        border-left:none; 
        border-top:none; 
        border-right:none; 
        font-weight:bold;
        }
        .LabelGachDuoi
        {
	        color:#000099;
	        border-top-width : 0px;
	        border-right-width : 0px;
	        border-bottom-width : 0px;
	        border-left-width : 0px;
	        width:auto;
	        font-weight:bold;
        }
    </style>

    <script src="../js/common.js"></script>

</head>
<body style="background-color: #ffffff">
    <form id="form1" runat="server" style="padding: 20px 20px 20px 50px;">
        <table cellpadding="0" cellspacing="0" width="100%">
            <tr>
                <td width="45%" valign="top">
                    <table cellpadding="0">
                        <tr>
                            <td style="text-align: center">
                                <asp:Image ID="Image1" runat="server" ImageUrl="~/Administration/Menu/logoBIDV.png" /></td>
                            <td style="text-align: center">
                                NGÂN HÀNG ĐẦU TƯ VÀ PHÁT TRIỂN VIỆT NAM
                                <br />
                                Chi nhánh:&nbsp;
                                <asp:Label ID="lblChiNhanh" runat="server" CssClass="LabelGachDuoi"></asp:Label>
                                <asp:SqlDataSource ID="dsTenChiNhanh" runat="server" ConnectionString="<%$ ConnectionStrings:DBConnectionString %>"
                                    ProviderName="<%$ ConnectionStrings:DBConnectionString.ProviderName %>"></asp:SqlDataSource>
                                <br />
                                Số: ....../CV</td>
                        </tr>
                        <tr>
                            <td style="text-align: center">
                                BIDV</td>
                            <td style="text-align: center">
                            </td>
                        </tr>
                    </table>
                </td>
                <td width="55%" style="text-align: center" valign="top">
                    CỘNG HÒA XÃ HỘI CHỦ NGHĨA VIỆT NAM<br />
                    <span class="Subhead">Độc lập - Tự do - Hạnh phúc </span>
                    <br />
                    <span class="Subhead">Ngày&nbsp;<asp:Label runat="server" ID="lblNgay"></asp:Label>&nbsp;Tháng&nbsp;<asp:Label runat="server" ID="lblThang"></asp:Label>&nbsp;Năm&nbsp;<asp:Label runat="server" ID="lblNam"></asp:Label></span>
                </td>
            </tr>
        </table>
        <table cellpadding="0" cellspacing="0" width="100%">
            <tr>
                <td width="20px">
                </td>
                <td width="100%">
                    <p style="text-align: center">
                        <span style="font-size: 18pt"><strong>
                            <br />
                            PHIẾU NHẬP KHO<br />
                        </strong></span><span style="color: blue"><em>Số:</em></span><asp:Label runat="server"
                            ID="lblMaHoaDon" ForeColor="#FF0066" Font-Bold="True" Font-Italic="True"></asp:Label>
                    </p>
                    <asp:SqlDataSource ID="ds" runat="server" ConnectionString="<%$ ConnectionStrings:DBConnectionString %>"
                        ProviderName="<%$ ConnectionStrings:DBConnectionString.ProviderName %>"></asp:SqlDataSource>
                    <asp:Panel runat="server" ID="pnThongTinKhachHang" Width="100%">
                        <table width="100%" cellpadding="0" cellspacing="0" border="0">
                            <tr>
                                <td width="20" nowrap style="height: 19px">
                                </td>
                                <td width="100%" class="Subhead" style="height: 19px">
                                    Họ tên người giao:
                                    <input type="text" class="MucNhap" style="width: 229px" />&nbsp;&nbsp;
                                    CMT số:&nbsp;
                                    <input type="text" class="MucNhap" />
                                    </td>
                            </tr>
                            <tr>
                                <td width="20" nowrap style="height: 20px">
                                </td>
                                <td width="100%" style="height: 20px">
                                    Nhập kho từ đơn vị:
                                    <asp:Label runat="server" ID="lblDonVi" CssClass="LabelGachDuoi"></asp:Label></td>
                            </tr>
                            <tr>
                                <td width="20" nowrap style="height: 20px">
                                </td>
                                <td width="100%" style="height: 20px">
                                    Hình thức thanh toán:
                                    <input type="text" class="MucNhap" style="width: 265px" />&nbsp;
                                </td>
                            </tr>
                        </table>
                        <table class="borderTable" width="100%">
                            <tr>
                                <td nowrap style="width: 20px">
                                </td>
                                <td width="100%" class="Subhead">
                                </td>
                            </tr>
                            <tr>
                                <td>
                                </td>
                                <td>
                                    <table class="tableDep" bordercolor="black" cellpadding="0" cellspacing="0" width="100%">
                                        <tr style="background-color: #669966;">
                                            <th class="thDep">
                                                <strong>STT</strong></th>
                                            <th class="thDep">
                                                <strong>Tên ấn chỉ</strong></th>
                                            <th class="thDep">
                                                <strong>Loại ấn chỉ</strong></th>
                                            <th class="thDep">
                                                <strong>Đơn vị tính</strong></th>
                                            <th class="thDep">
                                                <strong>Từ số</strong></th>
                                            <th class="thDep">
                                                <strong>Đến số</strong></th>
                                            <th class="thDep">
                                                <strong>Số lượng</strong></th>
                                            <th class="thDep">
                                                <strong>Seri</strong></th>
                                            <th class="thDep">
                                                <strong>Đơn giá</strong></th>
                                            <th class="thDep">
                                                <strong>Thành tiền</strong></th>
                                        </tr>
                                        <asp:Label runat="server" ID="lblDetailGrid"></asp:Label><tr>
                                            <td class="tdDep" bgcolor="white">
                                                <strong></strong>
                                            </td>
                                            <td class="tdDep" bgcolor="white">
                                                <strong>Cộng</strong></td>
                                            <td class="tdDep" bgcolor="white" colspan="7">
                                                <strong></strong><strong></strong><strong></strong><strong></strong>
                                            </td>
                                            <td class="tdDep" bgcolor="white" style="text-align: right">
                                                <strong>
                                                    <asp:Label ID="lblTongTienBangSo" runat="server" CssClass="LabelGachDuoi"></asp:Label></strong></td>
                                        </tr>
                                    </table>
                                    <asp:SqlDataSource ID="dsDetail" runat="server" ConnectionString="<%$ ConnectionStrings:DBConnectionString %>"
                                        ProviderName="<%$ ConnectionStrings:DBConnectionString.ProviderName %>" SelectCommandType="StoredProcedure">
                                    </asp:SqlDataSource>
                                </td>
                            </tr>
                        </table>
                        <table width="100%" cellpadding="0" cellspacing="0" border="0">
                            <tr>
                                <td nowrap style="height: 19px; width: 20px;">
                                </td>
                                <td width="100%" class="Subhead" style="height: 19px">
                                    Tổng số tiền (bằng chữ):<asp:Label runat="server" ID="lblTongTienBangChu" CssClass="LabelGachDuoi"></asp:Label></td>
                            </tr>
                            <tr>
                                <td nowrap style="height: 20px; width: 20px;">
                                </td>
                                <td width="100%" style="height: 20px">
                                    Trong đó thuế GTGT:&nbsp;
                                    <input type="text" class="MucNhap" /></td>
                            </tr>
                        </table>
                    </asp:Panel>
                </td>
                <td width="20px" nowrap>
                </td>
            </tr>
        </table>
        <br />
        &nbsp;<asp:Label runat="server" ID="lblGiayGioiThieuSo" CssClass="LabelGachDuoi"></asp:Label>
                                    <asp:Label runat="server" ID="lblHinhThucThanhToan" CssClass="LabelGachDuoi"></asp:Label><br />
        <asp:Label Visible="false"
                                            runat="server" ID="lblNguoiNhan_FullName" CssClass="LabelGachDuoi"></asp:Label><asp:Label runat="server" ID="lblNguoiNhan_CMT" CssClass="LabelGachDuoi" Visible="False"></asp:Label>
                                    <asp:Label runat="server" ID="lblThueGTGT" CssClass="LabelGachDuoi" Visible="False"></asp:Label><br />
        <table cellpadding="0" cellspacing="0" width="100%">
            <tr>
                <td style="text-align: center" valign="top" width="25%">
                    <em>Người giao<br />
                    </em>
                    <br />
                    <br />
                    <br />
                    <br />
                    <asp:Label ID="lblNguoiNhan" runat="server"></asp:Label>
                </td>
                <td style="text-align: center" valign="top" width="25%">
                    <em>Thủ kho<br />
                    </em>
                    <br />
                    <br />
                    <br />
                    <br />
                    <asp:Label ID="lblThuKho" runat="server"></asp:Label>
                </td>
                <td width="25%" valign="top" style="text-align: center">
                    <em>TP. Kế toán<br />
                    </em>
                    <br />
                    <br />
                    <br />
                    <br />
                    <asp:Label runat="server" ID="lblKeToan"></asp:Label>
                </td>
                <td width="25%" valign="top" style="text-align: center">
                    <em>Giám đốc<br />
                        (ký tên, đóng dấu)</em><br />
                    <br />
                    <br />
                    <br />
                    <asp:Label runat="server" ID="lblGiamDoc"></asp:Label>
                </td>
            </tr>
        </table>
    </form>
</body>
</html>

<script language="javascript">
    function disableClick(input){
        input.checked == true ? input.checked = false : input.checked = true;
    }
     //Ham nay de in trang này với định dạng html
    function printPage(a){
        a.style.display="none";
        window.print();
        a.style.display="block";
    }
</script>

